| Module | ActiveRecord::Acts::Voter::InstanceMethods |
| In: |
vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb
|
# File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 11
11: def vote_down(voteable, options = {})
12: vote(:down, voteable, options)
13: end
# File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 15
15: def vote_up(voteable, options = {})
16: vote(:up, voteable, options)
17: end
# File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 23
23: def voted_down?(voteable, options = {})
24: voted?(:down, voteable, options)
25: end